package it.unisa.ingegneria.tdp.grafoVento;

import java.util.ArrayList;

public class ClientGraph {

	public static void main(String[] args) {
		Graph<String> g=new Graph<String>();
		Node<String> n1=new Node<String>("a",new ArrayList<Node<String>>());
		Node<String> n2=new Node<String>("b",new ArrayList<Node<String>>());
		Node<String> n3=new Node<String>("c",new ArrayList<Node<String>>());
		Node<String> n4=new Node<String>("d",new ArrayList<Node<String>>());
		
		n1.setVicino(n2);
		n1.setVicino(n3);
		n2.setVicino(n1);
		n3.setVicino(n1);
		n3.setVicino(n4);
		n4.setVicino(n3);
		
		/*g.addNode(n1);
		g.addNode(n2);
		g.addNode(n3);
		g.addNode(n4);*/
		
		g.setNodoPartenza(n1);
		
		g.bfs_r(g.getNodoPartenza());
		

	}

}
